home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'Pink intersecting bubble facets reflecting the image',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 98,
- 'MinAmbience': 3,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (162,56,123),
- 'Direction': (-0.885429,-0.944968,-0.717354),
- 'HighlightSize': 75
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (173,25,153),
- 'Direction': (-0.148832,0.927481,0.004665),
- 'HighlightSize': 6
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (11,33,141),
- 'Direction': (0.145079,-0.66701,0.022863),
- 'HighlightSize': 69
- }]
- },
- 'Mode': App.Constants.CountType.Multiple,
- 'Multiple': {
- 'AverageSize': 82,
- 'Coverage': 83,
- 'CreateMethod': App.Constants.BubbleCreateMethod.Intersecting,
- 'SizeVariation': 36
- },
- 'RandomSeed': 51978,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (245,113,104),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Gold',
- 'PatternOpacity': 50,
- 'EnvironmentType': App.Constants.BubbleMapType.CurrentImage
- },
- 'Gloss': 12,
- 'Opacity': 100,
- 'Shininess': 77
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-